
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>使用方式 · ZanProxy</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="plugin/" />
    
    
    <link rel="prev" href="./" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../quick-start/">
            
                <a href="../quick-start/">
            
                    
                    快速开始
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../quick-start/pre-install.html">
            
                <a href="../quick-start/pre-install.html">
            
                    
                    前置条件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../quick-start/install.html">
            
                <a href="../quick-start/install.html">
            
                    
                    安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../quick-start/launch.html">
            
                <a href="../quick-start/launch.html">
            
                    
                    启动
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../quick-start/cert.html">
            
                <a href="../quick-start/cert.html">
            
                    
                    证书安装
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../configure/">
            
                <a href="../configure/">
            
                    
                    代理配置
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../configure/host.html">
            
                <a href="../configure/host.html">
            
                    
                    Host管理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../configure/rule.html">
            
                <a href="../configure/rule.html">
            
                    
                    转发规则
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../configure/project.html">
            
                <a href="../configure/project.html">
            
                    
                    工程路径
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../configure/mock.html">
            
                <a href="../configure/mock.html">
            
                    
                    mock数据
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../usage/">
            
                <a href="../usage/">
            
                    
                    使用代理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../usage/chrome.html">
            
                <a href="../usage/chrome.html">
            
                    
                    chrome代理配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../usage/mobile.html">
            
                <a href="../usage/mobile.html">
            
                    
                    手机代理设置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../usage/enable.html">
            
                <a href="../usage/enable.html">
            
                    
                    规则启用/禁用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../usage/monitor.html">
            
                <a href="../usage/monitor.html">
            
                    
                    请求监控
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../plugin/">
            
                <a href="../plugin/">
            
                    
                    自定义插件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../plugin/code.html">
            
                <a href="../plugin/code.html">
            
                    
                    编写插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../plugin/usage.html">
            
                <a href="../plugin/usage.html">
            
                    
                    使用插件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="./">
            
                <a href="./">
            
                    
                    Mac 客户端
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.6.1" data-path="use.html">
            
                <a href="use.html">
            
                    
                    使用方式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="plugin/">
            
                <a href="plugin/">
            
                    
                    插件开发
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.2.1" data-path="plugin/directory.html">
            
                <a href="plugin/directory.html">
            
                    
                    目录结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2.2" data-path="plugin/architecture.html">
            
                <a href="plugin/architecture.html">
            
                    
                    项目架构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2.3" data-path="plugin/type-system.html">
            
                <a href="plugin/type-system.html">
            
                    
                    类型系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2.4" >
            
                <span>
            
                    
                    插件开发指南
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.2.4.1" data-path="plugin/plugin-guide/start.html">
            
                <a href="plugin/plugin-guide/start.html">
            
                    
                    新建插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2.4.2" data-path="plugin/plugin-guide/manager.html">
            
                <a href="plugin/plugin-guide/manager.html">
            
                    
                    Manager
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2.4.3" data-path="plugin/plugin-guide/renderer.html">
            
                <a href="plugin/plugin-guide/renderer.html">
            
                    
                    Renderer
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6.2.5" >
            
                <span>
            
                    
                    API参考
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.2.5.1" data-path="plugin/api/main.html">
            
                <a href="plugin/api/main.html">
            
                    
                    Main
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2.5.2" data-path="plugin/api/renderer.html">
            
                <a href="plugin/api/renderer.html">
            
                    
                    Renderer
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../cooperation/">
            
                <a href="../cooperation/">
            
                    
                    团队协作
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../cooperation/remoteRule.html">
            
                <a href="../cooperation/remoteRule.html">
            
                    
                    远程规则
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >使用方式</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x4F7F;&#x7528;&#x65B9;&#x5F0F;">&#x4F7F;&#x7528;&#x65B9;&#x5F0F;</h1>
<h2 id="&#x521B;&#x5EFA;&#x65B0;&#x7684;&#x5DE5;&#x4F5C;&#x533A;">&#x521B;&#x5EFA;&#x65B0;&#x7684;&#x5DE5;&#x4F5C;&#x533A;</h2>
<p>&#x70B9;&#x51FB;&#x5DE6;&#x4E0B;&#x89D2;&#x7684;&#x65B0;&#x5EFA;&#x6309;&#x94AE;&#xFF0C;&#x5373;&#x53EF;&#x521B;&#x5EFA;&#x4E00;&#x4E2A;&#x65B0;&#x7684;&#x5DE5;&#x4F5C;&#x533A;&#x9884;&#x8BBE;</p>
<p><img src="https://img.yzcdn.cn/public_files/2019/03/07/6f7a367360b98ca31cf8189645c30339.png" alt="&#x65B0;&#x5EFA;"></p>
<h2 id="&#x914D;&#x7F6E;&#x5DE5;&#x4F5C;&#x533A;&#x5185;&#x5BB9;">&#x914D;&#x7F6E;&#x5DE5;&#x4F5C;&#x533A;&#x5185;&#x5BB9;</h2>
<p>&#x65B0;&#x5EFA;&#x6216;&#x70B9;&#x51FB;&#x5DE6;&#x4FA7;&#x4EFB;&#x610F;&#x5DE5;&#x4F5C;&#x533A;&#x540E;&#xFF0C;&#x53EF;&#x4EE5;&#x5728;&#x53F3;&#x4FA7;&#x7684;&#x5DE5;&#x4F5C;&#x533A;&#x7F16;&#x8F91;&#x533A;&#x57DF;&#x4FEE;&#x6539;&#x5F53;&#x524D;&#x5DE5;&#x4F5C;&#x533A;&#x7684;&#x914D;&#x7F6E;&#x3002;</p>
<p>&#x4FEE;&#x6539;&#x5B8C;&#x6BD5;&#x540E;&#xFF0C;&#x70B9;&#x51FB;&#x53F3;&#x4E0A;&#x89D2;&#x7684;&#x4FDD;&#x5B58;&#x6309;&#x94AE;&#x4FDD;&#x5B58;&#x5DE5;&#x4F5C;&#x533A;&#x914D;&#x7F6E;</p>
<p><img src="https://img.yzcdn.cn/public_files/2019/03/07/b101dc19661fda0341aaff08239ac528.png" alt="&#x4FEE;&#x6539;"></p>
<h2 id="&#x5207;&#x6362;&#x5DE5;&#x4F5C;&#x533A;">&#x5207;&#x6362;&#x5DE5;&#x4F5C;&#x533A;</h2>
<p>&#x70B9;&#x51FB;&#x5DE6;&#x4FA7;&#x5217;&#x8868;&#x4E2D;&#x5BF9;&#x5E94;&#x5DE5;&#x4F5C;&#x533A;&#x7684;&#x5F00;&#x5173;&#x5373;&#x53EF;&#x5207;&#x6362;&#x5230;&#x5BF9;&#x5E94;&#x7684;&#x5DE5;&#x4F5C;&#x533A;</p>
<p><img src="https://img.yzcdn.cn/public_files/2019/03/07/bda84e704ab1d90dfe8e98123b42f166.png" alt="&#x5207;&#x6362;-1"></p>
<p>&#x6216;&#x8005;&#x70B9;&#x51FB;&#x83DC;&#x5355;&#x680F;&#x53F3;&#x4FA7;&#x7684; zan-proxy-mac &#x56FE;&#x6807;&#xFF0C;&#x5728;&#x5F39;&#x51FA;&#x7684;&#x83DC;&#x5355;&#x4E2D;&#x5207;&#x6362;&#x5DE5;&#x4F5C;&#x533A;&#x73AF;&#x5883;</p>
<p><img src="https://img.yzcdn.cn/public_files/2019/03/07/850aa237e94e5b68cef58d9dabff4741.png" alt="&#x5207;&#x6362;-2"></p>
<h2 id="&#x5BFC;&#x51FA;&#x548C;&#x5BFC;&#x5165;&#x5DE5;&#x4F5C;&#x533A;">&#x5BFC;&#x51FA;&#x548C;&#x5BFC;&#x5165;&#x5DE5;&#x4F5C;&#x533A;</h2>
<p>&#x70B9;&#x51FB;&#x53F3;&#x4E0A;&#x89D2;&#x7684;&#x5BFC;&#x51FA;&#x6309;&#x94AE;&#x53EF;&#x4EE5;&#x5BFC;&#x51FA;&#x5F53;&#x524D;&#x5DE5;&#x4F5C;&#x533A;&#x7684;&#x914D;&#x7F6E;&#xFF0C;&#x9ED8;&#x8BA4;&#x5C06;&#x5BFC;&#x51FA;&#x7684;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x5B58;&#x653E;&#x5728; <code>~/Download</code> &#x76EE;&#x5F55;&#x4E0B;</p>
<p><img src="https://img.yzcdn.cn/public_files/2019/03/07/5459b2efc3272dd1d073e91caf7b8721.png" alt="&#x5BFC;&#x51FA;"></p>
<p>&#x9700;&#x8981;&#x5BFC;&#x5165;&#x5176;&#x4ED6;&#x4EBA;&#x7684;&#x914D;&#x7F6E;&#x65F6;&#xFF0C;&#x53EF;&#x4EE5;&#x70B9;&#x51FB;&#x5DE6;&#x4E0B;&#x89D2;&#x7684;&#x5BFC;&#x5165;&#x6309;&#x94AE;&#xFF0C;&#x9009;&#x62E9;&#x5BF9;&#x5E94;&#x7684; json &#x5DE5;&#x4F5C;&#x533A;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x8FDB;&#x884C;&#x5BFC;&#x5165;</p>
<p><img src="https://img.yzcdn.cn/public_files/2019/03/07/db4ba1687deeee0691ea671c0a3335db.png" alt="&#x5BFC;&#x5165;"></p>
<h2 id="&#x590D;&#x5236;&#x5DE5;&#x4F5C;&#x533A;">&#x590D;&#x5236;&#x5DE5;&#x4F5C;&#x533A;</h2>
<p>&#x70B9;&#x51FB;&#x53F3;&#x4E0A;&#x89D2;&#x7684;&#x590D;&#x5236;&#x6309;&#x94AE;&#xFF0C;&#x5373;&#x53EF;&#x590D;&#x5236;&#x4E00;&#x4EFD;&#x4E0E;&#x5F53;&#x524D;&#x5DE5;&#x4F5C;&#x533A;&#x914D;&#x7F6E;&#x76F8;&#x540C;&#x7684;&#x5DE5;&#x4F5C;&#x533A;&#x9884;&#x8BBE;</p>
<h2 id="&#x5220;&#x9664;&#x5DE5;&#x4F5C;&#x533A;">&#x5220;&#x9664;&#x5DE5;&#x4F5C;&#x533A;</h2>
<p>&#x5F53;&#x4E0D;&#x518D;&#x9700;&#x8981;&#x67D0;&#x4E2A;&#x5DE5;&#x4F5C;&#x533A;&#x65F6;&#xFF0C;&#x70B9;&#x51FB;&#x53F3;&#x4E0A;&#x89D2;&#x7684;&#x5220;&#x9664;&#x6309;&#x94AE;&#xFF0C;&#x5373;&#x53EF;&#x5220;&#x9664;&#x8BE5;&#x5DE5;&#x4F5C;&#x533A;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="./" class="navigation navigation-prev " aria-label="Previous page: Mac 客户端">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="plugin/" class="navigation navigation-next " aria-label="Next page: 插件开发">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"使用方式","level":"1.6.1","depth":2,"next":{"title":"插件开发","level":"1.6.2","depth":2,"path":"gui/plugin/index.md","ref":"gui/plugin/index.md","articles":[{"title":"目录结构","level":"1.6.2.1","depth":3,"path":"gui/plugin/directory.md","ref":"gui/plugin/directory.md","articles":[]},{"title":"项目架构","level":"1.6.2.2","depth":3,"path":"gui/plugin/architecture.md","ref":"gui/plugin/architecture.md","articles":[]},{"title":"类型系统","level":"1.6.2.3","depth":3,"path":"gui/plugin/type-system.md","ref":"gui/plugin/type-system.md","articles":[]},{"title":"插件开发指南","level":"1.6.2.4","depth":3,"ref":"","articles":[{"title":"新建插件","level":"1.6.2.4.1","depth":4,"path":"gui/plugin/plugin-guide/start.md","ref":"gui/plugin/plugin-guide/start.md","articles":[]},{"title":"Manager","level":"1.6.2.4.2","depth":4,"path":"gui/plugin/plugin-guide/manager.md","ref":"gui/plugin/plugin-guide/manager.md","articles":[]},{"title":"Renderer","level":"1.6.2.4.3","depth":4,"path":"gui/plugin/plugin-guide/renderer.md","ref":"gui/plugin/plugin-guide/renderer.md","articles":[]}]},{"title":"API参考","level":"1.6.2.5","depth":3,"ref":"","articles":[{"title":"Main","level":"1.6.2.5.1","depth":4,"path":"gui/plugin/api/main.md","ref":"gui/plugin/api/main.md","articles":[]},{"title":"Renderer","level":"1.6.2.5.2","depth":4,"path":"gui/plugin/api/renderer.md","ref":"gui/plugin/api/renderer.md","articles":[]}]}]},"previous":{"title":"Mac 客户端","level":"1.6","depth":1,"path":"gui/README.md","ref":"gui/README.md","articles":[{"title":"使用方式","level":"1.6.1","depth":2,"path":"gui/use.md","ref":"gui/use.md","articles":[]},{"title":"插件开发","level":"1.6.2","depth":2,"path":"gui/plugin/index.md","ref":"gui/plugin/index.md","articles":[{"title":"目录结构","level":"1.6.2.1","depth":3,"path":"gui/plugin/directory.md","ref":"gui/plugin/directory.md","articles":[]},{"title":"项目架构","level":"1.6.2.2","depth":3,"path":"gui/plugin/architecture.md","ref":"gui/plugin/architecture.md","articles":[]},{"title":"类型系统","level":"1.6.2.3","depth":3,"path":"gui/plugin/type-system.md","ref":"gui/plugin/type-system.md","articles":[]},{"title":"插件开发指南","level":"1.6.2.4","depth":3,"ref":"","articles":[{"title":"新建插件","level":"1.6.2.4.1","depth":4,"path":"gui/plugin/plugin-guide/start.md","ref":"gui/plugin/plugin-guide/start.md","articles":[]},{"title":"Manager","level":"1.6.2.4.2","depth":4,"path":"gui/plugin/plugin-guide/manager.md","ref":"gui/plugin/plugin-guide/manager.md","articles":[]},{"title":"Renderer","level":"1.6.2.4.3","depth":4,"path":"gui/plugin/plugin-guide/renderer.md","ref":"gui/plugin/plugin-guide/renderer.md","articles":[]}]},{"title":"API参考","level":"1.6.2.5","depth":3,"ref":"","articles":[{"title":"Main","level":"1.6.2.5.1","depth":4,"path":"gui/plugin/api/main.md","ref":"gui/plugin/api/main.md","articles":[]},{"title":"Renderer","level":"1.6.2.5.2","depth":4,"path":"gui/plugin/api/renderer.md","ref":"gui/plugin/api/renderer.md","articles":[]}]}]}]},"dir":"ltr"},"config":{"plugins":[],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":false,"twitter":false,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":[]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"ZanProxy","links":{"gitbook":false,"sharing":{"google":false,"facebook":false,"twitter":false,"all":false}},"gitbook":"*"},"file":{"path":"gui/use.md","mtime":"2019-03-08T06:06:12.817Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-03-08T06:08:21.743Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

